#{extends 'main.html' /}
#{set title:'Salao Tads' /}
#{stylesheet 'style.css'/}


<head>

</head>
<body>
<div id="Content"> <!--Container -->

	<div id="Header">
     
   		<div id="menuforms">
        <ul>
        #{form @Application.buscarfunc()}
<label>Buscar CPF: </label><input type="text" name="cpdf" />


<button type="submit">Buscar!</button>
#{/form}
#{list items:p, as:'f'} 
		<br><br>
- #{a @Application.remover(p.id)}Remover#{/a}
<br>Nome = ${f.nome}
<br>Endereco  = ${f.endereco}
<br>Telefone = ${f.telefone}
<br>CPF: = ${f.cpf}
<br>Funcao = ${f.funcao}
<br>Salario = ${f.salario}

		#{/list}
        </ul>
</div>    
        
  
    <div id="footer">
 <li> 
   <div align="center"><a href="/secure/logout">Encerrar Sessao</a></div>
 </li> 
</div>

</body>
</html>